package com.apobates.jforum2.troll.replies.decorate;

import com.apobates.jforum2.troll.attention.core.decorater.posts.Display;
import com.apobates.jforum2.troll.replies.entity.Posts;

/**
 * 装饰对象
 *
 * @author xiaofanku@live.cn
 * @since 20200516
 */
public class PostsDisplay implements Display{
    private final Posts posts;

    public PostsDisplay(Posts posts) {
        super();
        this.posts = posts;
    }

    @Override
    public String getContent() {
        return posts.getContent();
    }
}